POV-Ray : Newsgroups : povray.programming : Compiling using C++ Builder 3 : Re: Compiling using C++ Builder 3 Server Time
28 Jul 2024 18:15:49 EDT (-0400)
  Re: Compiling using C++ Builder 3  
From: Ron Parker
Date: 3 Sep 1999 09:24:50
Message: <37cfcc22@news.povray.org>
On Fri, 3 Sep 1999 00:31:36 -0400, Mark Wagner wrote:
>I was trying to compile a custom version of POVWin that doesn't need to use
>the registry using Borland C++ Builder 3, and I got the following error
>messages:

[...]

>What is going on and how do I fix it?  It looks like an include file is
>missing; however, I did not make any modifications to the code except for
>the parts where it reads/writes the registry, and commenting out 4 lines in
>windows.h that were interfering with compilation (C++ Builder insists on
>treating the program as if it were written in C++).

You need to add a declaration for COMMONCTRL_VERSION=0x400 in such a way 
that it applies to all source files.  In MSIE, this is in the project 
settings dialog.  I'm sure Builder has something similar.  If that doesn't
do what you need, you might also need to get the latest platform SDK include 
files from msdn.microsoft.com.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.